<template>
	<div id="pageNode">
		   <el-pagination @current-change="getPage"
		     background
		     layout="prev, pager, next"
		     :total="total"
			 :page-size="pageSize"
			>
		   </el-pagination>
	</div>
</template>

<script scope>
	export default{
		name:"pageNode",
		props:{
				total:0,
				pageSize:0,
			},
		methods:{
			getPage(val){
				this.$emit('getPage',val)
			}
		},
	}
</script>

<style scoped>
</style>
